package com.arlen.general.util;

import java.util.Map;

//线程工具类
public class MessageThread {
    //存放用户发送消息
    private static final ThreadLocal<Map<String,String>> messageThread = new ThreadLocal<>();

    public static Map<String, String> getMessageThread() {
        return messageThread.get();
    }

    public static void setMessageThread(Map<String,String> map){
        messageThread.set(map);
    }
}
